#define  _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
void Print(int(*p)[4], int a,int b)
{
	int i = 0;
	for (i = 0; i < a; i++)
	{
		int j = 0;
		for (j = 0; j < b; j++)
		{
			printf("%d ", *(*(p + i) + j));
		}
		printf("\n");
	}
}


int main()
{
	int arr[3][4] = {1,2,3,4,2,3,4,5,3,4,5,6};
	Print(arr, 3,4);

	return 0;
}